package com.bdqn.cloud.t330.service;

import com.bdqn.cloud.t330.entity.User;
import com.bdqn.cloud.t330.repository.UserRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImp implements UserService {

    @Resource
    UserRepository userRepository;

    @Override
    public List<User> getUserListBiz() {
        return userRepository.findAll();
    }
}
